Serialize<T> Method

Summary

Serializes the specified object to an xml file.

Syntax
C#
VB
C++
public static void Serialize<T>( 
   T obj, 
   string filename 
) 
  
Public Shared Sub Serialize(Of T)( _ 
   ByVal obj As T, _ 
   ByVal filename As String _ 
)  
public: 
static void Serializegeneric<typename T> 
(  
   _T^_ obj, 
   String^ filename 
)  

Parameters

obj
The object to serialize.

filename
The xml to store the serialized object.

Type Parameters

T
The type of object to serialize.

Requirements

Target Platforms

Help Version 20.0.2020.5.27
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly